package com.mall.domain;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

@JsonIgnoreProperties(value = {"handler"})
public class OrderCopy {

  private long id;
  private String orderCode;
  private double paymentMoney;
  private long paymentType;
  private double postFee;
  private long status;
  private java.sql.Timestamp created;
  private java.sql.Timestamp updated;
  private java.sql.Timestamp paymentTime;
  private java.sql.Timestamp consignTime;
  private java.sql.Timestamp endTime;
  private java.sql.Timestamp closeTime;
  private String shippingName;
  private String shippingCode;
  private long memberId;
  private String buyerMsg;
  private String buyerNickname;
  private long buyerComment;
  private Integer address_id;
  private Integer flag;
  private List<OrderDetails> orderDetails;

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Integer getAddress_id() {
    return address_id;
  }

  public void setAddress_id(Integer address_id) {
    this.address_id = address_id;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getOrderCode() {
    return orderCode;
  }

  public void setOrderCode(String orderCode) {
    this.orderCode = orderCode;
  }


  public double getPaymentMoney() {
    return paymentMoney;
  }

  public void setPaymentMoney(double paymentMoney) {
    this.paymentMoney = paymentMoney;
  }


  public long getPaymentType() {
    return paymentType;
  }

  public void setPaymentType(long paymentType) {
    this.paymentType = paymentType;
  }


  public double getPostFee() {
    return postFee;
  }

  public void setPostFee(double postFee) {
    this.postFee = postFee;
  }

  public List<OrderDetails> getOrderDetails() {
    return orderDetails;
  }

  public void setOrderDetails(List<OrderDetails> orderDetails) {
    this.orderDetails = orderDetails;
  }

  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }


  public java.sql.Timestamp getCreated() {
    return created;
  }

  public void setCreated(java.sql.Timestamp created) {
    this.created = created;
  }


  public java.sql.Timestamp getUpdated() {
    return updated;
  }

  public void setUpdated(java.sql.Timestamp updated) {
    this.updated = updated;
  }


  public java.sql.Timestamp getPaymentTime() {
    return paymentTime;
  }

  public void setPaymentTime(java.sql.Timestamp paymentTime) {
    this.paymentTime = paymentTime;
  }


  public java.sql.Timestamp getConsignTime() {
    return consignTime;
  }

  public void setConsignTime(java.sql.Timestamp consignTime) {
    this.consignTime = consignTime;
  }


  public java.sql.Timestamp getEndTime() {
    return endTime;
  }

  public void setEndTime(java.sql.Timestamp endTime) {
    this.endTime = endTime;
  }


  public java.sql.Timestamp getCloseTime() {
    return closeTime;
  }

  public void setCloseTime(java.sql.Timestamp closeTime) {
    this.closeTime = closeTime;
  }


  public String getShippingName() {
    return shippingName;
  }

  public void setShippingName(String shippingName) {
    this.shippingName = shippingName;
  }


  public String getShippingCode() {
    return shippingCode;
  }

  public void setShippingCode(String shippingCode) {
    this.shippingCode = shippingCode;
  }


  public long getMemberId() {
    return memberId;
  }

  public void setMemberId(long memberId) {
    this.memberId = memberId;
  }


  public String getBuyerMsg() {
    return buyerMsg;
  }

  public void setBuyerMsg(String buyerMsg) {
    this.buyerMsg = buyerMsg;
  }


  public String getBuyerNickname() {
    return buyerNickname;
  }

  public void setBuyerNickname(String buyerNickname) {
    this.buyerNickname = buyerNickname;
  }


  public long getBuyerComment() {
    return buyerComment;
  }

  public void setBuyerComment(long buyerComment) {
    this.buyerComment = buyerComment;
  }

  @Override
  public String toString() {
    return "OrderCopy{" +
            "id=" + id +
            ", orderCode='" + orderCode + '\'' +
            ", paymentMoney=" + paymentMoney +
            ", paymentType=" + paymentType +
            ", postFee=" + postFee +
            ", status=" + status +
            ", created=" + created +
            ", updated=" + updated +
            ", paymentTime=" + paymentTime +
            ", consignTime=" + consignTime +
            ", endTime=" + endTime +
            ", closeTime=" + closeTime +
            ", shippingName='" + shippingName + '\'' +
            ", shippingCode='" + shippingCode + '\'' +
            ", memberId=" + memberId +
            ", buyerMsg='" + buyerMsg + '\'' +
            ", buyerNickname='" + buyerNickname + '\'' +
            ", buyerComment=" + buyerComment +
            ", address_id=" + address_id +
            ", flag=" + flag +
            ", orderDetails=" + orderDetails +
            '}';
  }
}
